package com.heima.model.article.entity;

import com.heima.model.common.annotation.IdEncrypt;

import java.util.Date;
import java.io.Serializable;

/**
 * app端文章配置表(ApArticleConfig)实体类
 *
 * @author makejava
 * @since 2022-04-16 09:57:00
 */
public class ApArticleConfig implements Serializable {
    private static final long serialVersionUID = 443996542334857191L;
    /**
     * 文章ID
     */
    @IdEncrypt
    private Long articleId;
    /**
     * 是否上架;0: 下架  1 : 上架
     */
    private Integer enable;
    /**
     * 是否被删除;0: 否 , 1 : 是
     */
    private Integer isDelete;
    /**
     * 是否允许评论
     */
    private Integer isComment;
    /**
     * 是否允许转发;0: 否, 1 : 是
     */
    private Integer isForward;
    /**
     * 创建时间
     */
    private Date createdTime;
    /**
     * 更新时间
     */
    private Date updatedTime;


    public Long getArticleId() {
        return articleId;
    }

    public void setArticleId(Long articleId) {
        this.articleId = articleId;
    }

    public Integer getEnable() {
        return enable;
    }

    public void setEnable(Integer enable) {
        this.enable = enable;
    }

    public Integer getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(Integer isDelete) {
        this.isDelete = isDelete;
    }

    public Integer getIsComment() {
        return isComment;
    }

    public void setIsComment(Integer isComment) {
        this.isComment = isComment;
    }

    public Integer getIsForward() {
        return isForward;
    }

    public void setIsForward(Integer isForward) {
        this.isForward = isForward;
    }

    public Date getCreatedTime() {
        return createdTime;
    }

    public void setCreatedTime(Date createdTime) {
        this.createdTime = createdTime;
    }

    public Date getUpdatedTime() {
        return updatedTime;
    }

    public void setUpdatedTime(Date updatedTime) {
        this.updatedTime = updatedTime;
    }

}
